package radio;

import java.io.IOException;

public class HelloOutputStream {

	@SuppressWarnings("deprecation")
	public static void main(String[] args) {

		String s = "Hello World\r\n";

		// Convert s to a byte array
		byte[] b = new byte[s.length()];
		s.getBytes(0, s.length() - 1, b, 0);
		try {
			System.out.write(b);
			System.out.flush();
		} catch (IOException ex) {
			System.err.println(ex);
		}

	}

}